package cn.com.dycc.party_org.membership.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import cn.com.dycc.party_org.membership.entity.MemberShipEntity;
import cn.com.dycc.party_org.membership.param.AddMemberShipParam;

public interface MemberShipService {
	
	/**
	 * 增加党籍信息
 	 * @param addMemberShipParam HttpServletRequest request,
	 * @return
	 * @throws NotFoundMemberShipException
	 */
	public String addMemberShip(HttpServletRequest request,AddMemberShipParam addMemberShipParam)throws NotFoundMemberShipException;
	
	/**
	 * 根据id删除党籍信息
	 * @param info_id
	 * @return
	 * @throws NotFoundMemberShipException
	 */
	public String delMemberShipByInfoId(HttpServletRequest request,String info_id)throws NotFoundMemberShipException;
	
	/**
	 * 查询该党员用户的所有党籍变化信息
	 * @param request
	 * @param user_id
	 * @return
	 * @throws NotFoundMemberShipException
	 */
	public List<MemberShipEntity> findMemberShipList(HttpServletRequest request,String user_id)throws NotFoundMemberShipException;

}
